import { POSTNoLoading } from '@/api/helper'
import profile from '@root/profile'

const { cf } = profile.proxy

export default {
  /**
   * 获取桶名
   * @returns {Promise<{code:number,message:string,data:{privateBucketName:string,publicBucketName:string}}>}
   */
  getMinioBucketName: () => POSTNoLoading({ url: cf.prefix + '/cfCommon/getMinioBucketName' }),

  /**
   * 获取系统时间
   */
  getSystemTime: () => POSTNoLoading({ url: cf.prefix + '/cfCommon/getSystemTime' })
}
